using System.Net.Security;

namespace SmartBoard.Core.Networking
{
    /// <summary>
    /// Keeps connection authenticate information between callbacks.
    /// </summary>
    internal class AuthenticateCallbackData
    {
        public AuthenticateCallbackData(BaseSocketConnection connection, SslStream stream, HostType hostType)
        {
            Connection = connection;
            Stream = stream;
            HostType = hostType;
        }

        public BaseSocketConnection Connection { get; private set; }
        public SslStream Stream { get; private set; }
        public HostType HostType { get; private set; }
    }
}